﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="storageadj_check_check.aspx.cs" Inherits="WebInvoicingsys.system.storage.productarrange.storageadj_check_check" %>
<asp:Content ID="Content1" ContentPlaceHolderID="styles" runat="server">
    <style type="text/css">
    
        .input_data_main
        {
            height:30px; vertical-align:middle; line-height:30px; float:left; font-size:10px;
        }

        .input_data_style
        {
            height:30px; vertical-align:middle; line-height:30px; float:left; margin-left:5px;
        }
    
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="alert_text" runat="server">
    <%=alert_msg%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="main" runat="server">
    <div class="form-group" style="margin-left:30px">
        <asp:HiddenField ID="hfwarehouseid" runat="server" />
        <asp:HiddenField ID="hfbilldate" runat="server" />
        <div class="row-fluid" style="margin-top:10px">
            <table>
                <tr>
                    <td align="right">
                       <span class="input-group-addon">开单日期:</span>
                    </td>
                    <td align="left">
                       <asp:TextBox ID="txt_billdate" runat="server" class="form-control" placeholder="开单日期" CssClass="input_style" Font-Size="10px"  MaxLength="254" Enabled="false"></asp:TextBox> 
                    </td>
                </tr>

                <tr>
                    <td align="right">
                        <span class="input-group-addon">调整仓库:</span>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txt_warehousename" runat="server" class="form-control" placeholder="调整仓库" CssClass="input_style" Font-Size="10px"  MaxLength="254" Enabled="false"></asp:TextBox>
                    </td>
                </tr>

                <tr>
                    <td align="right">
                        <span class="input-group-addon">备注:</span>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txt_remark" runat="server" class="form-control" placeholder="备注" CssClass="input_style" Font-Size="10px"  MaxLength="254" Enabled="false"></asp:TextBox>
                    </td> 
                </tr>
            </table>
        </div>

        <hr align="center" color="#987cb9" size="2" />

        <div class="row-fluid">
            <table>
                <tr>
                    <td>
                        <div class="input_data_main">
                            <div class="input_data_style">
                                <asp:Button class="btn btn-xs btn-success" id="btnCheck" runat="server" Text="审批" onclick="btnCheck_Click"/>
                            </div>
                            <div class="input_data_style">
                                <asp:Button class="btn btn-xs btn-success" id="btnSave" runat="server" Text="保存备注" onclick="btnSave_Click" />
                            </div>
                            <div class="input_data_style">
                                <asp:TextBox ID="txt_checkremark" runat="server" class="form-control" placeholder="审批备注" CssClass="input_style" Font-Size="10px"  MaxLength="256"></asp:TextBox>
                            </div>
                            <div class="input_data_style">
                                <asp:Button class="btn btn-xs btn-default" id="btnReturn" runat="server" Text="返回" onclick="btnReturn_Click" />
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>

        <div class="row-fluid" style="margin-top:10px; vertical-align:middle">
                <div class="block-content collapse in">
                <div class="span12">
                    <table class="table table-bordered">
                    <thead style="background-color:Silver">
	                    <tr>
		                    <th>序号</th>
                            <th>调出库区</th>
                            <th>调出库位</th>
                            <th>调入库区</th>
                            <th>调入库位</th>
		                    <th>货品条码</th>
                            <th>货品全称</th>
                            <th>货品简称</th>
                            <th>货品类别</th>
                            <th>货品单位</th>
                            <th>货品规格</th>
                            <th>堆放方式</th>
                            <th>防护方式</th>
                            <th>数量</th>
	                    </tr>
                    </thead>
                    <tbody>
                    <asp:Repeater ID="rplist" runat="server">
                    <ItemTemplate>
                    <tr>
		                <td><%#Eval("dgvID")%></td>
                        <td><%#Eval("areaname_out")%></td>
                        <td><%#Eval("storagename_out")%></td>
                        <td><%#Eval("areaname_in")%></td>
                        <td><%#Eval("storagename_in")%></td>
		                <td><%#Eval("productcode")%></td>
                        <td><%#Eval("productname")%></td>
                        <td><%#Eval("productshortname")%></td>
                        <td><%#Eval("goodsclassname")%></td>
                        <td><%#Eval("goodsunitname")%></td>
                        <td><%#Eval("goodsspecname")%></td>
                        <td><%#Eval("stackname")%></td>
                        <td><%#Eval("guardname")%></td>
                        <td><%#Eval("qty1")%></td>
	                </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <tr>
                            <td>
                                合计
                            </td>
                            <td colspan="12">
                                &nbsp;
                            </td>
                            <td>
                                <%=Total_qty1%>
                            </td>                       
                        </tr>
                    </FooterTemplate>
                    </asp:Repeater>
                    </tbody>
                    </table>
                </div>
            </div>
            </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="scripts" runat="server">
</asp:Content>
